package bean;

import java.util.Date;

public class Laterecord {
    private String studentname;
    private String dormitoryid;
    private Date latetime;
    private String reason;

    public Laterecord() {
    }

    public Laterecord(String studentname, String dormitoryid, Date latetime, String reason) {
        this.studentname = studentname;
        this.dormitoryid = dormitoryid;
        this.latetime = latetime;
        this.reason = reason;
    }

    /**
     * 获取
     * @return studentname
     */
    public String getStudentname() {
        return studentname;
    }

    /**
     * 设置
     * @param studentname
     */
    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    /**
     * 获取
     * @return dormitoryid
     */
    public String getDormitoryid() {
        return dormitoryid;
    }

    /**
     * 设置
     * @param dormitoryid
     */
    public void setDormitoryid(String dormitoryid) {
        this.dormitoryid = dormitoryid;
    }

    /**
     * 获取
     * @return latetime
     */
    public Date getLatetime() {
        return latetime;
    }

    /**
     * 设置
     * @param latetime
     */
    public void setLatetime(Date latetime) {
        this.latetime = latetime;
    }

    /**
     * 获取
     * @return reason
     */
    public String getReason() {
        return reason;
    }

    /**
     * 设置
     * @param reason
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    public String toString() {
        return "LaterecordDao{studentname = " + studentname + ", dormitoryid = " + dormitoryid + ", latetime = " + latetime + ", reason = " + reason + "}";
    }
}
